﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Masters/Form.master" AutoEventWireup="true" CodeFile="UserAdd.aspx.cs" 
Inherits="Modules_Sysmgr_UserAdd" Title="用户信息添加" %>



<asp:Content ID="Content2" ContentPlaceHolderID="idFormMain" Runat="Server">
    <h2>
       <asp:Label ID="lblTitle" runat="server" Text="用户信息添加" ></asp:Label>
    </h2>
<div>
    <table cellpadding='2' cellspacing='1' class='ow_fim_mg' width='100%'>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="lbName" runat="server" Text="用户名:"></asp:Label><font color='red'>*</font>
                    </td>
                    <td class='fi_r'>
                        <asp:TextBox ID='txtName' runat='server' Width='120px'
                            ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="reqName" runat="server" ErrorMessage="请输入用户名" ValidationGroup="oss"
                    ControlToValidate="txtName">*</asp:RequiredFieldValidator>
                    </td>
                    <td class='fi_l'>
                        <asp:Label ID="lbPwd" runat="server" Text="密码:" meta:resourcekey="lbPwdResource1"></asp:Label><font color='red'>*</font>
                    </td>
                    <td class='fi_r'>
                        <asp:TextBox ID="txtPwd" runat="server" Width='120px' TextMode="Password" MaxLength='255' meta:resourcekey="txtPwdResource1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入密码" ValidationGroup="oss"
                    ControlToValidate="txtPwd" meta:resourcekey="RequiredFieldValidator2Resource1">*</asp:RequiredFieldValidator>
                        </td>
                </tr>
                <tr>
                   
                    <td class='fi_l'>
                        <asp:Label ID="lbConfirmPwd" runat="server" Text="确认密码:" meta:resourcekey="lbConfirmPwdResource1"></asp:Label><font color='red'>*</font>
                    </td>
                    <td class='fi_r'>
                        <asp:TextBox ID="txtConfimPwd" runat="server" Width='120px' TextMode="Password" MaxLength='255' meta:resourcekey="txtConfimPwdResource1"></asp:TextBox>
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入确认密码" ValidationGroup="oss"
                    ControlToValidate="txtConfimPwd" meta:resourcekey="RequiredFieldValidator3Resource1">*</asp:RequiredFieldValidator>
                        </td>
                        <td class='fi_l'>
                        <asp:Label ID="lbIsValid" runat="server" Text="是否有效:" meta:resourcekey="lbIsValidResource1"></asp:Label><font color='red'>*</font>
                    </td>
                    <td class='fi_r'>
                        <asp:DropDownList ID="ddlValid" runat="server" Width="125px" meta:resourcekey="ddlValidResource1">
                        </asp:DropDownList></td>   
                </tr>   
                      
            </table>
</div>

<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" ValidationGroup="oss" meta:resourcekey="ValidationSummary1Resource1" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="idFormButton" Runat="Server">
  <asp:Button ID="btnSave" runat="server" Text="保存"  ValidationGroup="oss"
        OnClick="btnSave_Click" meta:resourcekey="btnSaveResource1" />
    <asp:Button ID="CloseButton" runat="server" Text="关闭" 
        OnClientClick="return closeForm();" meta:resourcekey="CloseButtonResource1"/>   
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="idScript" runat="Server">

    <script type="text/javascript">
        function closeForm() {
            window.returnValue="false";
            window.opener=null;
            window.close();
            return false;
        } 
       
           
    </script>

</asp:Content>



